package com.qf.common.core.exception;

import lombok.Data;

/**
 * --- 缘分让我们相遇乱世以外 ---
 *
 * @author SJY
 * 2024/12/26
 */
@Data
public class CommonException extends RuntimeException {

    private Integer code;
    private String msg;

    public CommonException(){

    }

    public CommonException(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }
    public CommonException(String msg){
        this.msg = msg;
    }
}
